package org.itboys.mobile.service.mongo.mobile.information;

import org.itboys.mdl.entity.mongo.information.MdlPortalImage;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created on 2017/12/1.
 */
@Service
public class MdlPortalImageService extends BaseMongoService<MdlPortalImage>{

    @Resource(name="mobileDs")
    private MongoDataSource dictDataSource;

    protected MongoDataSource getMongoDataSource() {
        return dictDataSource;
    }

    protected Class<MdlPortalImage> getEntityClass() {
        return MdlPortalImage.class;
    }
}
